package com.yunyi.integration.pojo;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 属性注入Pojo类
 *
 * @author yunyi
 */
@Data
@Component
@ConfigurationProperties("user")
public class User {
    private String name;
    private int age;
    private String address;
    private List<String> studentName;
}
